package com.sync.utils.project.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * TODO
 *
 * @Author YWF
 * @Date 2022/1/27 17:23
 */
@Data
@NoArgsConstructor
@TableName("sy_user")
public class UserDto implements Serializable {

    /** 用户编号 */
    @TableId(value = "user_id",type = IdType.AUTO)
    private String userId;

    @TableField("avatar")
    private String avatar;
    /** 账号*/
    @TableField("account")
    private String account;
    /** 用户名 */
    @TableField("user_name")
    private String username;
    /** 邮箱 */
    @TableField("email")
    private String email;
    /** 密码 */
    @TableField("pass_word")
    private String password;

    @TableField("pwd_salt")
    private String salt;

    @TableField("status")
    private String status;

    @TableField("creator")
    private String creator;

    @TableField("create_time")
    private String createTime;

    @TableField("updator")
    private String updator;

    @TableField("update_time")
    private String updateTime;



}
